This query returns a boolean value that indicates whether the scroll bars are showing (true) or hidden (false).To show or hide the scroll bars, use the PScrollbars command.
Example.
PGetScrollbars isShowing;
if (isShowing == true) ...
Comments or suggestions? Contact Adobe Developer Support